# -*- mode: snippet -*-
#name : printf("%s...\n", ...);
#contributor : joaotavora
# --
printf("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
}$2${1:$(if (string-match "%" text) "\);" "")}